package com.ytsky;

// mport org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement // 使用默认方式，开启事务控制
@SpringBootApplication
// @MapperScan由mybatis和Spring框架整合组件提供，用于自动搜索数据访问接口的注解
@MapperScan(basePackages = {"com.ytsky.dao"})
public class MoneyApp {

    public static void main(String[] args) {
        SpringApplication.run(MoneyApp.class, args);
    }

}